/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package control;

import java.awt.Color;
import view.DBLogin;

/**
 *
 * @author Morten J, Morten B & Jonas
 */
public class Main {

    private static DBHandler dbConnection;
    private static final Color RED_COLOR = new Color(180, 30, 30);
    private static final Color GREEN_COLOR = new Color(34, 104, 1);

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        DBLogin d = new DBLogin();
        d.setVisible(true);
    }

    public static DBHandler getDbConnection() {
        return dbConnection;
    }

    public static Color getRED_COLOR() {
        return RED_COLOR;
    }

    public static Color getGREEN_COLOR() {
        return GREEN_COLOR;
    }

    public static void setDbConnection(DBHandler dbConnection) {
        Main.dbConnection = dbConnection;
    }
}
